instead of IMAGE_BACKGROUND.
2001-11-01 Gerd Moellmann <gerd@gnu.org>
+ * xfns.c (x_build_heuristic_mask): Use four_corners_best
+ instead of IMAGE_BACKGROUND.
+
* xfns.c (four_corners_best): Reindent.
* xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
}
if (use_img_background)
- bg = IMAGE_BACKGROUND (img, f, ximg);
+ bg = four_corners_best (ximg, img->width, img->height);
/* Set all bits in mask_img to 1 whose color in ximg is different
from the background color bg. */